const config = require("./config.js");
module.exports = {
    proxy: {
        [config.ROOT]: {
            target: config.PROXYROOT,//接口地址
            secure: false,//如果是https,需配置为true
            changeOrigin: true,//是否跨域
            pathRewrite: {
                [`^${config.ROOT}`]: '/apis'
            }
        }
    }
}